﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cspl.Project.Console;

namespace Cspl.Project.Namespace
{
    class ClassA
    {
        public ClassA (int param)
        {
            AnPropertyValue = param;
        }

        public int FieldPublic;
        private int FieldPrivate;
        protected int FieldProtected;
        internal int FieldInternal;
        internal protected int FieldInternalProtected;

        public int Method(int param)
        { 
            return 1;
        }
        public int PropertyA
        {
            get;
            set;
        }

        public string PropertyB { get; set; }
        private int _anActualValue;

        public int AnPropertyValue
        {
            get { return _anActualValue; }
            set { _anActualValue = value; }
        }

        public void ShowProperty()
        {
            //console.WriteLine("Property Value :" + AnPropertyValue);
            //Console.writeline("Field Value :" + _anActualValue);
        }

    }
}
